#ifndef TOAST_H
#define TOAST_H

#include <QDialog>

namespace Ui {
class Toast;
}

class Toast : public QDialog
{
    Q_OBJECT

public:
    explicit Toast(const QString msg, QWidget *parent = nullptr, bool isLong = false);
    ~Toast();
    int getLabelWidth();
public slots:
    void slotTimeOut();
private:
private:
    Ui::Toast *ui;
    QString message;
    bool mIsLong;
};

#endif // TOAST_H
